home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-05-05 | 1.2 KB | 38 lines | [TEXT/MPS ] |
- # File: TearOff.MDEF.make
- # Target: TearOff.MDEF
- # Sources: TearOff.MDEF.c
- # Created: Tuesday, August 25, 1992 3:25:05 PM
-
- OBJECTS = TearOff.MDEF.c.o
-
- DTS.Lib.folder = "::DTS.Lib:"
- DTS.Lib.hdrs = "::DTS.Lib:DTS.Lib.headers:"
- IncludesFolders = -i {DTS.Lib.hdrs}
- COptions = {IncludesFolders} {SymOptions} -r -b -b2 -mbg on
-
- # Link the thing
- # options
- # -t -c Put it in a ResEdit resource file
- # -rt Make it a resource type of MDEF with an ID of 512
- # -m Main entry point main()
- # -sg Make it a segment called TearOff.MDEF
- # And link it with TearOff.MDEF.c.o and Interface.o
-
- TearOff.MDEF ƒƒ TearOff.MDEF.make {OBJECTS}
- Link -t rsrc -c RSED -rt 'MDEF 512' -m MAIN -sg TearOff.MDEF ∂
- {OBJECTS} ∂
- "{Libraries}"Interface.o ∂
- "{DTS.Lib.folder}"DTS.Lib_utils ∂
- -o TearOff.MDEF
- Delete TearOff.MDEF.c.o
- # Here you'd normally put your Rez line to move the MDEF into whatever app you
- # want it in
-
- # C options I'm using are
- # -r Tell me if I forgot a prototype
- # -b -b2 put strings in the code instead of global space, make all
- # function calls PC relative, and overlay strings if you want
-
- TearOff.MDEF.c.o ƒ TearOff.MDEF.make TearOff.MDEF.c
- C {COptions} TearOff.MDEF.c
-